<?php



class TblPointCalcBackupMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TblPointCalcBackupMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('mgig');

		$tMap = $this->dbMap->addTable('tbl_point_calc_backup');
		$tMap->setPhpName('TblPointCalcBackup');

		$tMap->setUseIdGenerator(true);

		$tMap->addColumn('F_ID', 'FId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_DIST_ID', 'FDistId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_LEFT_LEG', 'FLeftLeg', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_LEFT_CF', 'FLeftCf', 'double', CreoleTypes::DECIMAL, true, 12);

		$tMap->addColumn('F_RIGHT_LEG', 'FRightLeg', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_RIGHT_CF', 'FRightCf', 'double', CreoleTypes::DECIMAL, true, 12);

		$tMap->addColumn('F_PAIRED_AMOUNT', 'FPairedAmount', 'double', CreoleTypes::DECIMAL, true, 12);

		$tMap->addColumn('F_DATE', 'FDate', 'int', CreoleTypes::DATE, true, null);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

	} 
} 